-- GENERATED SPELL FOR [Daranelle] --


function spell0_21469(pUnit, Event) --@Dispelling Analysis,n/a--
pUnit:FullCastSpellOnTarget(37028,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21469', 563, 1)
end

function Sorts_21469(pUnit, Event)
local choix_sorts_21469 = math.random(0, 0)
if choix_sorts_21469 == 0 then
pUnit:RegisterEvent('spell0_21469', 1, 1)
end
end

function mob21469_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21469', math.random(1500, 3000), 1)
end

function mob21469_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21469_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21469_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21469, 1, 'mob21469_Action')
RegisterUnitEvent(21469, 2, 'mob21469_Leave')
RegisterUnitEvent(21469, 3, 'mob21469_Kill')
RegisterUnitEvent(21469, 4, 'mob21469_Die')
